<template>
   <el-dialog
        v-model="dialogOverflowVisible"
        title="修改视频"
        width="400"
        draggable
        overflow
      >
        <el-form-item label="标题">
            <el-input v-if="videoform.type==2" v-model="videoform.gold" placeholder="请输入金币数量"/>
        </el-form-item>
        <el-form-item label="类型">
          <div style="display:flex;width:100%">
            <el-select v-model="videotype.type" placeholder="视频类型" clearable style="width:50%">
              <el-option label="普通" value="0" />
              <el-option label="会员" value="1" />
              <el-option label="金币" value="2" />
            </el-select>
            <el-input v-if="videoform.type==2" v-model="videoform.gold" placeholder="请输入金币数量" style="position: relative;left:5%;width:30%" />
        </div>
        </el-form-item>
        <el-form-item label="点赞量">
            <el-input v-if="videoform.type==2" v-model="videoform.gold" placeholder="请输入播放量"/>
        </el-form-item>
        <el-form-item label="收藏量">
            <el-input v-if="videoform.type==2" v-model="videoform.gold" placeholder="请输入播放量"/>
        </el-form-item>
        <el-form-item label="播放量">
            <el-input v-if="videoform.type==2" v-model="videoform.gold" placeholder="请输入播放量"/>
        </el-form-item>
        <template #footer>
          <div class="dialog-footer">
            <el-button @click="Cancel">取消</el-button>
            <el-button @click="UpdataType">确定</el-button>
          </div>
        </template>
      </el-dialog>
</template>

<script setup>

</script>

<style>

</style>